import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    redirect: '/interview'
  },
  {
    path: '/interview',
    name: 'Interview',
    component: () => import('../views/InterviewView.vue')
  },
  {
    path: '/resume',
    name: 'Resume',
    component: () => import('../views/ResumeView.vue')
  },
  {
    path: '/exam',
    name: 'Exam',
    component: () => import('../views/ExamView.vue')
  },
  {
    path: '/plan',
    name: 'Plan',
    component: () => import('../views/PlanView.vue')
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router 